﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link href="../Css/Site.css" rel="stylesheet" />
    <link href="../themes/default/easyui.css" rel="stylesheet" />
    <link href="../themes/icon.css" rel="stylesheet" />
    <script src="../script/jquery.min.js"></script>
    <script src="../script/jquery.easyui.min.js"></script>
    <meta charset="utf-8" />
</head>
<body>

    <form id="ff" method="post">
        <div>
            <label for="name">Name:</label>
            <input class="easyui-validatebox" type="text" name="name" data-options="required:true" />
        </div>
        <div>
            <label for="email">Email:</label>
            <input id="vv" class="easyui-validatebox" data-options="required:true,validType:'email'" />  
        </div>
        <input id="btnsub" type="submit" value="submit" />
    </form>  
    <script>
        $('#vv').validatebox({
            required: true,
            validType: 'email'
        });
    </script>

</body>
</html>
